package day012.homework.p2;

public class Test {
    public static void main(String[] args) {
        Manager m = new Manager("张三", 20000);
        Programmer p = new Programmer("李四", 10000);
        Company c = new Company(1000000);

        c.pay(m);
        c.pay(p);
    }
}
